<template>
  <div id="app">
    <h1>当前的环境:{{env}}</h1>
    <h1>当前请求的服务器地址:{{url}}</h1>
    <Product />
    <hr>
    <Cart />
  </div>
</template>
<script>
import Cart from "components/Cart.vue"
import Product from "components/Product.vue"
export default {
  data() {
    return {
      env: process.env.VUE_APP_TITLE,
      url:process.env.VUE_APP_BASE_URL
    }
  },
  components: {
    Product,
    Cart
  }
}
</script>